FindOptions Class

Specifies how the find and replace methods of the Document match text.

Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#
public class FindOptions
Inheritance
Object    FindOptions

Constructors

FindOptions Initializes a new instance of the FindOptions class.
FindOptions(SearchScope) Initializes a new instance of the FindOptions class with the specified scope.

Properties

MatchCase Gets or sets a value that indicates whether the search is case sensitive. The default value is true.
MaxResults Gets or sets the maximum number of results. Zero, the default value, means no limit.
PreserveFormatting Gets or sets a value that indicates whether replaced content inherits the formatting of the replaced content. The default value is true.
Scope Gets or sets the parts of the document to search. The default value is All.
UseRegularExpressions Gets or sets a value that indicates whether the search text is a regular expression. The default value is false. Group references such as $1 are substituted in the replacement text.
UseWildcards Gets or sets a value that indicates whether the search text contains wildcards (*, ? and [ ]). The default value is false.
WholeWord Gets or sets a value that indicates whether only whole words are matched. The default value is false.

Methods

Clone Creates a new FindOptions that is a copy of the current object.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also